package com.xialinrui.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xialinrui.entity.ExpenditureCategory;
import com.xialinrui.mapper.ExpenditureCategoryMapper;
import com.xialinrui.service.ExpenditureCategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author xialinrui
 */
@Service
public class ExpenditureCategoryServiceImpl extends ServiceImpl<ExpenditureCategoryMapper, ExpenditureCategory> implements ExpenditureCategoryService {
    @Resource
    private ExpenditureCategoryMapper expenditureCategoryMapper;

    @Override
    public void deleteByIds(List<Long> ids) {
        expenditureCategoryMapper.deleteBatchIds(ids);
    }
}
